package com.it.zhangjun.design.pattern.statePattern;

/**
 * @className: Client
 * @description: TODO 类描述
 * @author: z00018123
 * @date: 2021/4/29
 **/
public class Client {
    public static void main(String[] args) {
        Context context = new Context();
        context.setCarState(new CloseState());
        context.open();
        context.close();
        context.run();
        context.stop();
    }
}
